package com.sunny.framework.core.base.action;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.ui.Model;

public interface BaseMethod {

	public String list(Model model, HttpServletRequest request,
			HttpServletResponse response);

	public String add(HttpServletRequest reuqest, HttpServletResponse response);

	public Map<String,Object> edit(Model model, HttpServletRequest request,
			HttpServletResponse response);

	public Map<String,Object> delete(HttpServletRequest request,
			HttpServletResponse response);
}
